package com.ysz.timewheel.server.util;

import java.time.LocalTime;

/**
 * @ClassName TimeUtil
 * @Description TODO
 * @Data 16:25
 * @Version 1.0
 * @Author ysz
 */
public class TimeUtil {

    /**
     * 获取当前时刻的秒数
     *
     * @author ysz
     * @date 2022/2/22 16:25
     */
    public static Integer getCurrentSeconds() {
        return LocalTime.now().getSecond() % 30;
    }

}
